{include file="pub_header.htm"}

<div class="out_table">
<table width="100%" cellpadding="3" cellspacing="0" border="0" align="center" class="current_place">
  <tr>
    <td align="left" nowrap>&nbsp;
      <a href="{$lang.s._public.global.weburl}" target="_self" class="current_place">{$lang.s._public.global.website}</a>
      &raquo; <a href="{$control_index}?act=index" target="_self" class="current_place">论坛首页</a>
      &raquo; <a href="{$control_index}?act=forgetpass" target="_self" class="current_place">找回密码</a>
    </td>
    <td align="right" nowrap>&nbsp;</td>
  </tr>
</table>
</div>

{if $get.ope == "reset"}
<div class="out_table"><div class="space"></div></div>
<div class="out_table">
<table width="98%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
  <tr align="left" class="block_header">
    <td>重设密码</td>
  </tr>
  <tr class="block_title">
    <td align="left">请填写新密码...</td>
  </tr>
  <tr>
    <td align="center" valign="top" class="block_content">
    <form id="forgetpass_reset" name="forgetpass_reset" method="post" action="javascript:void(null);">
    <table height="120" cellpadding="0" cellspacing="0" border="0" align="center">
      <tr>
        <td colspan="2" align="left" class="salient"><span id="prompt_message" name="prompt_message"></td>
      </tr>
      <tr>
        <td align="right" nowrap>用户名:</td>
        <td align="left" nowrap><input type="text" id="username" name="username" size="32" maxlength="30" class="input"></td>
      </tr>
      <tr>
        <td align="right" nowrap>输入密码:</td>
        <td align="left" nowrap><input type="password" id="password1" name="password1" size="32" maxlength="255" class="input"></td>
      </tr>
      <tr>
        <td align="right" nowrap>确认密码:</td>
        <td align="left" nowrap><input type="password" id="password2" name="password2" size="32" maxlength="255" class="input"></td>
      </tr>
      <tr>
        <td colspan="2" align="center" nowrap>
        <input type="button" id="forgetpass_submit" name="forgetpass_submit" value="重设密码" class="button"
            onclick="xajax.$('forgetpass_submit').disabled=true;
            xajax.$('forgetpass_submit').value='请等待...';
            xajax_forgetpass_reset(xajax.getFormValues('forgetpass_reset'));" />
        </td>
      </tr>
    </table>
    </form>
    </td>
  </tr>
</table>
</div>
{else}
<div class="out_table"><div class="space"></div></div>
<div class="out_table">
<table width="98%" cellpadding="3" cellspacing="0" border="0" align="center" class="block_group">
  <tr align="left" class="block_header">
    <td>找回密码</td>
  </tr>
  <tr class="block_title">
    <td align="left">请填写用户名和验证码...</td>
  </tr>
  <tr>
    <td align="center" valign="top" class="block_content">
    <form id="forgetpass_send" name="forgetpass_send" method="post" action="javascript:void(null);">
    <table height="120" cellpadding="0" cellspacing="0" border="0" align="center">
      <tr>
        <td colspan="2" align="left" class="salient"><span id="prompt_message" name="prompt_message"></td>
      </tr>
      <tr>
        <td align="right" nowrap>用户名:</td>
        <td align="left" nowrap><input type="text" id="username" name="username" size="32" maxlength="30" class="input"></td>
      </tr>
      <tr>
        <td align="right" nowrap>信　箱:</td>
        <td align="left" nowrap><input type="text" id="email" name="email" size="32" maxlength="255" class="input"></td>
      </tr>
      <tr>
        <td align="right" nowrap>验证码:</td>
        <td align="left" nowrap><input type="text" id="verifycode" name="verifycode" size="6" class="input" />&nbsp;<span style="cursor:pointer;" onclick="xajax_switch_verifycode('vc_forgetpass_show','{$control_index}','vc_forgetpass');"><span id="vc_forgetpass_show"><img src="{$control_index}?act=verifycode&vc=vc_forgetpass" border="0" align="absmiddle"></span></span></td>
      </tr>
      <tr>
        <td colspan="2" align="center" nowrap>
        <input type="button" id="forgetpass_submit" name="forgetpass_submit" value="找回密码" class="button"
            onclick="xajax.$('forgetpass_submit').disabled=true;
            xajax.$('forgetpass_submit').value='请等待...';
            xajax_forgetpass_send(xajax.getFormValues('forgetpass_send'));" />
        </td>
      </tr>
    </table>
    </form>
    </td>
  </tr>
</table>
</div>
{/if}

{include file="pub_footer.htm"} 